package com.sidianzhong.sdz.model;

import java.io.Serializable;

/**
 * @author 
 */
public class WebHequipmentgroup implements Serializable {
    private Integer id;

    private String sitename;

    private String equipmenttypekey;

    private String equipmentname;

    private String equipmentkey;

    private String status;

    private String equipmentip;

    private String agreementtype;

    private String bindtype;

    private String equipmentport;

    private String equipmentid;

    private String tablename;

    private String itemname;

    private String warmingdata;

    private String maintransmittername;

    private String maintransmitterkey;

    private String sparetransmittername;

    private String sparetransmitterkey;

    private String maintransmitterpowertype;

    private String sparetransmitterpowertype;

    private String ifmonitor;

    private String equipmentmodel;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSitename() {
        return sitename;
    }

    public void setSitename(String sitename) {
        this.sitename = sitename;
    }

    public String getEquipmenttypekey() {
        return equipmenttypekey;
    }

    public void setEquipmenttypekey(String equipmenttypekey) {
        this.equipmenttypekey = equipmenttypekey;
    }

    public String getEquipmentname() {
        return equipmentname;
    }

    public void setEquipmentname(String equipmentname) {
        this.equipmentname = equipmentname;
    }

    public String getEquipmentkey() {
        return equipmentkey;
    }

    public void setEquipmentkey(String equipmentkey) {
        this.equipmentkey = equipmentkey;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEquipmentip() {
        return equipmentip;
    }

    public void setEquipmentip(String equipmentip) {
        this.equipmentip = equipmentip;
    }

    public String getAgreementtype() {
        return agreementtype;
    }

    public void setAgreementtype(String agreementtype) {
        this.agreementtype = agreementtype;
    }

    public String getBindtype() {
        return bindtype;
    }

    public void setBindtype(String bindtype) {
        this.bindtype = bindtype;
    }

    public String getEquipmentport() {
        return equipmentport;
    }

    public void setEquipmentport(String equipmentport) {
        this.equipmentport = equipmentport;
    }

    public String getEquipmentid() {
        return equipmentid;
    }

    public void setEquipmentid(String equipmentid) {
        this.equipmentid = equipmentid;
    }

    public String getTablename() {
        return tablename;
    }

    public void setTablename(String tablename) {
        this.tablename = tablename;
    }

    public String getItemname() {
        return itemname;
    }

    public void setItemname(String itemname) {
        this.itemname = itemname;
    }

    public String getWarmingdata() {
        return warmingdata;
    }

    public void setWarmingdata(String warmingdata) {
        this.warmingdata = warmingdata;
    }

    public String getMaintransmittername() {
        return maintransmittername;
    }

    public void setMaintransmittername(String maintransmittername) {
        this.maintransmittername = maintransmittername;
    }

    public String getMaintransmitterkey() {
        return maintransmitterkey;
    }

    public void setMaintransmitterkey(String maintransmitterkey) {
        this.maintransmitterkey = maintransmitterkey;
    }

    public String getSparetransmittername() {
        return sparetransmittername;
    }

    public void setSparetransmittername(String sparetransmittername) {
        this.sparetransmittername = sparetransmittername;
    }

    public String getSparetransmitterkey() {
        return sparetransmitterkey;
    }

    public void setSparetransmitterkey(String sparetransmitterkey) {
        this.sparetransmitterkey = sparetransmitterkey;
    }

    public String getMaintransmitterpowertype() {
        return maintransmitterpowertype;
    }

    public void setMaintransmitterpowertype(String maintransmitterpowertype) {
        this.maintransmitterpowertype = maintransmitterpowertype;
    }

    public String getSparetransmitterpowertype() {
        return sparetransmitterpowertype;
    }

    public void setSparetransmitterpowertype(String sparetransmitterpowertype) {
        this.sparetransmitterpowertype = sparetransmitterpowertype;
    }

    public String getIfmonitor() {
        return ifmonitor;
    }

    public void setIfmonitor(String ifmonitor) {
        this.ifmonitor = ifmonitor;
    }

    public String getEquipmentmodel() {
        return equipmentmodel;
    }

    public void setEquipmentmodel(String equipmentmodel) {
        this.equipmentmodel = equipmentmodel;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WebHequipmentgroup other = (WebHequipmentgroup) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getSitename() == null ? other.getSitename() == null : this.getSitename().equals(other.getSitename()))
            && (this.getEquipmenttypekey() == null ? other.getEquipmenttypekey() == null : this.getEquipmenttypekey().equals(other.getEquipmenttypekey()))
            && (this.getEquipmentname() == null ? other.getEquipmentname() == null : this.getEquipmentname().equals(other.getEquipmentname()))
            && (this.getEquipmentkey() == null ? other.getEquipmentkey() == null : this.getEquipmentkey().equals(other.getEquipmentkey()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getEquipmentip() == null ? other.getEquipmentip() == null : this.getEquipmentip().equals(other.getEquipmentip()))
            && (this.getAgreementtype() == null ? other.getAgreementtype() == null : this.getAgreementtype().equals(other.getAgreementtype()))
            && (this.getBindtype() == null ? other.getBindtype() == null : this.getBindtype().equals(other.getBindtype()))
            && (this.getEquipmentport() == null ? other.getEquipmentport() == null : this.getEquipmentport().equals(other.getEquipmentport()))
            && (this.getEquipmentid() == null ? other.getEquipmentid() == null : this.getEquipmentid().equals(other.getEquipmentid()))
            && (this.getTablename() == null ? other.getTablename() == null : this.getTablename().equals(other.getTablename()))
            && (this.getItemname() == null ? other.getItemname() == null : this.getItemname().equals(other.getItemname()))
            && (this.getWarmingdata() == null ? other.getWarmingdata() == null : this.getWarmingdata().equals(other.getWarmingdata()))
            && (this.getMaintransmittername() == null ? other.getMaintransmittername() == null : this.getMaintransmittername().equals(other.getMaintransmittername()))
            && (this.getMaintransmitterkey() == null ? other.getMaintransmitterkey() == null : this.getMaintransmitterkey().equals(other.getMaintransmitterkey()))
            && (this.getSparetransmittername() == null ? other.getSparetransmittername() == null : this.getSparetransmittername().equals(other.getSparetransmittername()))
            && (this.getSparetransmitterkey() == null ? other.getSparetransmitterkey() == null : this.getSparetransmitterkey().equals(other.getSparetransmitterkey()))
            && (this.getMaintransmitterpowertype() == null ? other.getMaintransmitterpowertype() == null : this.getMaintransmitterpowertype().equals(other.getMaintransmitterpowertype()))
            && (this.getSparetransmitterpowertype() == null ? other.getSparetransmitterpowertype() == null : this.getSparetransmitterpowertype().equals(other.getSparetransmitterpowertype()))
            && (this.getIfmonitor() == null ? other.getIfmonitor() == null : this.getIfmonitor().equals(other.getIfmonitor()))
            && (this.getEquipmentmodel() == null ? other.getEquipmentmodel() == null : this.getEquipmentmodel().equals(other.getEquipmentmodel()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getSitename() == null) ? 0 : getSitename().hashCode());
        result = prime * result + ((getEquipmenttypekey() == null) ? 0 : getEquipmenttypekey().hashCode());
        result = prime * result + ((getEquipmentname() == null) ? 0 : getEquipmentname().hashCode());
        result = prime * result + ((getEquipmentkey() == null) ? 0 : getEquipmentkey().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getEquipmentip() == null) ? 0 : getEquipmentip().hashCode());
        result = prime * result + ((getAgreementtype() == null) ? 0 : getAgreementtype().hashCode());
        result = prime * result + ((getBindtype() == null) ? 0 : getBindtype().hashCode());
        result = prime * result + ((getEquipmentport() == null) ? 0 : getEquipmentport().hashCode());
        result = prime * result + ((getEquipmentid() == null) ? 0 : getEquipmentid().hashCode());
        result = prime * result + ((getTablename() == null) ? 0 : getTablename().hashCode());
        result = prime * result + ((getItemname() == null) ? 0 : getItemname().hashCode());
        result = prime * result + ((getWarmingdata() == null) ? 0 : getWarmingdata().hashCode());
        result = prime * result + ((getMaintransmittername() == null) ? 0 : getMaintransmittername().hashCode());
        result = prime * result + ((getMaintransmitterkey() == null) ? 0 : getMaintransmitterkey().hashCode());
        result = prime * result + ((getSparetransmittername() == null) ? 0 : getSparetransmittername().hashCode());
        result = prime * result + ((getSparetransmitterkey() == null) ? 0 : getSparetransmitterkey().hashCode());
        result = prime * result + ((getMaintransmitterpowertype() == null) ? 0 : getMaintransmitterpowertype().hashCode());
        result = prime * result + ((getSparetransmitterpowertype() == null) ? 0 : getSparetransmitterpowertype().hashCode());
        result = prime * result + ((getIfmonitor() == null) ? 0 : getIfmonitor().hashCode());
        result = prime * result + ((getEquipmentmodel() == null) ? 0 : getEquipmentmodel().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sitename=").append(sitename);
        sb.append(", equipmenttypekey=").append(equipmenttypekey);
        sb.append(", equipmentname=").append(equipmentname);
        sb.append(", equipmentkey=").append(equipmentkey);
        sb.append(", status=").append(status);
        sb.append(", equipmentip=").append(equipmentip);
        sb.append(", agreementtype=").append(agreementtype);
        sb.append(", bindtype=").append(bindtype);
        sb.append(", equipmentport=").append(equipmentport);
        sb.append(", equipmentid=").append(equipmentid);
        sb.append(", tablename=").append(tablename);
        sb.append(", itemname=").append(itemname);
        sb.append(", warmingdata=").append(warmingdata);
        sb.append(", maintransmittername=").append(maintransmittername);
        sb.append(", maintransmitterkey=").append(maintransmitterkey);
        sb.append(", sparetransmittername=").append(sparetransmittername);
        sb.append(", sparetransmitterkey=").append(sparetransmitterkey);
        sb.append(", maintransmitterpowertype=").append(maintransmitterpowertype);
        sb.append(", sparetransmitterpowertype=").append(sparetransmitterpowertype);
        sb.append(", ifmonitor=").append(ifmonitor);
        sb.append(", equipmentmodel=").append(equipmentmodel);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}